<div class="layuimini-main" xmlns:th="http://www.w3.org/1999/xhtml">
<style>
    .layuimini-form .layui-form-item label{ line-height: 40px; text-align: right; padding-right: 10px;}
    #head_image{ width: 80px; height: 80px; border-radius: 50%;}
</style>
    <div class="layui-form layuimini-form">
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm1 required">头像</label>
            <div class="layui-upload layui-col-sm11">
                <button type="button" class="layui-btn" id="headPhoto">上传图片</button>
                <div class="layui-upload-list update_list">
                    <img class="layui-upload-img" id="head_image">
                    <p id="head_image_text"></p>
                    <input type="hidden" id="headUrl" name="headUrl">
                </div>
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <div class="layui-col-sm6">
                <label class="layui-col-sm2">帐号<span style="color:red;">*</span></label>
                <div class="layui-col-sm10">
                    <input type="text" name="account" id="account" lay-verify="required" lay-reqtext="帐号不能为空" placeholder="请输入帐号" class="layui-input">
                </div>
            </div>
            <div class="layui-col-sm6">
                <label class="layui-col-sm3">用户名<span style="color:red;">*</span></label>
                <div class="layui-col-sm9">
                    <input type="text" name="userName" id="userName" lay-verify="required" lay-reqtext="用户名不能为空" placeholder="请输入用户名" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <div class="layui-col-sm6">
                <label class="layui-col-sm2">密码<span style="color:red;">*</span></label>
                <div class="layui-col-sm10">
                    <input type="password" name="password" id="password" lay-verify="required" lay-reqtext="密码不能为空" placeholder="请输入密码" class="layui-input">
                </div>
            </div>
            <div class="layui-col-sm6">
                <label class="layui-col-sm3">确认密码<span style="color:red;">*</span></label>
                <div class="layui-col-sm9">
                    <input type="password" id="repassword" lay-verify="required" lay-reqtext="密码不能为空" placeholder="请输入密码" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <div class="layui-col-sm6">
                <label class="layui-col-sm2">性别</label>
                <div class="layui-col-sm10">
                    <input type="radio" name="sex" value="0" title="男" checked="checked">
                    <input type="radio" name="sex" value="1" title="女">
                </div>
            </div>
            <div class="layui-col-sm6">
                <label class="layui-col-sm3">类型</label>
                <div class="layui-col-sm9">
                    <input type="radio" name="type" value="0" title="他" checked="checked">
                    <input type="radio" name="type" value="1" title="她">
                    <input type="radio" name="type" value="2" title="其他">
                </div>
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <div class="layui-col-sm6">
                <label class="layui-col-sm2">手机号</label>
                <div class="layui-col-sm10">
                    <input type="text" name="phone" id="phone" placeholder="请输入手机号" class="layui-input">
                </div>
            </div>
            <div class="layui-col-sm6">
                <label class="layui-col-sm3">年龄</label>
                <div class="layui-col-sm9">
                    <input type="number" name="age" id="age" placeholder="请输入年龄" class="layui-input" value="0">
                </div>
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <div class="layui-col-sm6">
                <label class="layui-col-sm2">生日</label>
                <div class="layui-col-sm10">
                    <input type="text" name="bothday" id="bothday" placeholder="请输入生日" class="layui-input">
                </div>
            </div>
            <div class="layui-col-sm6">
                <label class="layui-col-sm3">身高(cm)</label>
                <div class="layui-col-sm9">
                    <input type="number" name="tall" id="tall" placeholder="请输入身高" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm1">职业</label>
            <div class="layui-col-sm11">
                <input type="text" name="professional" id="professional" placeholder="请输入职业" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-form-text layui-row">
            <label class="layui-col-sm1">爱好</label>
            <div class="layui-col-sm11">
                <textarea name="hobby" id="hobby" placeholder="请输入爱好" class="layui-textarea"></textarea>
            </div>
        </div>
        <div class="layui-form-item layui-form-text layui-row">
            <label class="layui-col-sm1">介绍</label>
            <div class="layui-col-sm11">
                <textarea name="introduce" id="introduce" placeholder="请输入介绍" class="layui-textarea"></textarea>
            </div>
        </div>
        <div class="layui-form-item layui-form-text layui-row">
            <label class="layui-col-sm1">备注</label>
            <div class="layui-col-sm11">
                <textarea name="remark" id="remark" placeholder="请输入备注" class="layui-textarea"></textarea>
            </div>
        </div>
        <div class="layui-form-item" style="text-align: right;">
            <div>
                <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn">保存</button>
                <button class="layui-btn layui-btn-primary" id="closeBtn">取消</button>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="/web/boSpaceUser/boSpaceUser_add.js"></script>